package com.entity;

import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import java.lang.reflect.InvocationTargetException;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import org.springframework.format.annotation.DateTimeFormat;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.beanutils.BeanUtils;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.enums.FieldFill;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * 拼车订单
 * 数据库通用操作实体类（普通增删改查）
 * @author 
 * @email 
 * @date 2024-01-24 17:00:43
 */
@TableName("pinchedingdan")
public class PinchedingdanEntity<T> implements Serializable {
	private static final long serialVersionUID = 1L;


	public PinchedingdanEntity() {
		
	}
	
	public PinchedingdanEntity(T t) {
		try {
			BeanUtils.copyProperties(this, t);
		} catch (IllegalAccessException | InvocationTargetException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
	
	/**
	 * 主键id
	 */
    @TableId(type = IdType.AUTO)
    private Long id;
	/**
	 * 拼单编号
	 */
					
	private String pindanbianhao;
	
	/**
	 * 拼单名称
	 */
					
	private String pindanmingcheng;
	
	/**
	 * 拼单名额
	 */
					
	private Integer pindanminge;
	
	/**
	 * 拼单价格
	 */
					
	private Double pindanjiage;
	
	/**
	 * 拼车封面
	 */
					
	private String pinchefengmian;
	
	/**
	 * 出发地
	 */
					
	private String chufadi;
	
	/**
	 * 目的地
	 */
					
	private String mudedi;
	
	/**
	 * 出发时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date chufashijian;
	
	/**
	 * 账号
	 */
					
	private String zhanghao;
	
	/**
	 * 姓名
	 */
					
	private String xingming;
	
	/**
	 * 手机号码
	 */
					
	private String shoujihaoma;
	
	/**
	 * 发起时间
	 */
				
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat 		
	private Date faqishijian;
	
	/**
	 * 订单状态
	 */
					
	private String dingdanzhuangtai;
	
	/**
	 * 是否审核
	 */
					
	private String sfsh;
	
	/**
	 * 审核回复
	 */
					
	private String shhf;
	
	
	@JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
	@DateTimeFormat
	private Date addtime;

	public Date getAddtime() {
		return addtime;
	}
	public void setAddtime(Date addtime) {
		this.addtime = addtime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 设置：拼单编号
	 */
	public void setPindanbianhao(String pindanbianhao) {
		this.pindanbianhao = pindanbianhao;
	}
	/**
	 * 获取：拼单编号
	 */
	public String getPindanbianhao() {
		return pindanbianhao;
	}
	/**
	 * 设置：拼单名称
	 */
	public void setPindanmingcheng(String pindanmingcheng) {
		this.pindanmingcheng = pindanmingcheng;
	}
	/**
	 * 获取：拼单名称
	 */
	public String getPindanmingcheng() {
		return pindanmingcheng;
	}
	/**
	 * 设置：拼单名额
	 */
	public void setPindanminge(Integer pindanminge) {
		this.pindanminge = pindanminge;
	}
	/**
	 * 获取：拼单名额
	 */
	public Integer getPindanminge() {
		return pindanminge;
	}
	/**
	 * 设置：拼单价格
	 */
	public void setPindanjiage(Double pindanjiage) {
		this.pindanjiage = pindanjiage;
	}
	/**
	 * 获取：拼单价格
	 */
	public Double getPindanjiage() {
		return pindanjiage;
	}
	/**
	 * 设置：拼车封面
	 */
	public void setPinchefengmian(String pinchefengmian) {
		this.pinchefengmian = pinchefengmian;
	}
	/**
	 * 获取：拼车封面
	 */
	public String getPinchefengmian() {
		return pinchefengmian;
	}
	/**
	 * 设置：出发地
	 */
	public void setChufadi(String chufadi) {
		this.chufadi = chufadi;
	}
	/**
	 * 获取：出发地
	 */
	public String getChufadi() {
		return chufadi;
	}
	/**
	 * 设置：目的地
	 */
	public void setMudedi(String mudedi) {
		this.mudedi = mudedi;
	}
	/**
	 * 获取：目的地
	 */
	public String getMudedi() {
		return mudedi;
	}
	/**
	 * 设置：出发时间
	 */
	public void setChufashijian(Date chufashijian) {
		this.chufashijian = chufashijian;
	}
	/**
	 * 获取：出发时间
	 */
	public Date getChufashijian() {
		return chufashijian;
	}
	/**
	 * 设置：账号
	 */
	public void setZhanghao(String zhanghao) {
		this.zhanghao = zhanghao;
	}
	/**
	 * 获取：账号
	 */
	public String getZhanghao() {
		return zhanghao;
	}
	/**
	 * 设置：姓名
	 */
	public void setXingming(String xingming) {
		this.xingming = xingming;
	}
	/**
	 * 获取：姓名
	 */
	public String getXingming() {
		return xingming;
	}
	/**
	 * 设置：手机号码
	 */
	public void setShoujihaoma(String shoujihaoma) {
		this.shoujihaoma = shoujihaoma;
	}
	/**
	 * 获取：手机号码
	 */
	public String getShoujihaoma() {
		return shoujihaoma;
	}
	/**
	 * 设置：发起时间
	 */
	public void setFaqishijian(Date faqishijian) {
		this.faqishijian = faqishijian;
	}
	/**
	 * 获取：发起时间
	 */
	public Date getFaqishijian() {
		return faqishijian;
	}
	/**
	 * 设置：订单状态
	 */
	public void setDingdanzhuangtai(String dingdanzhuangtai) {
		this.dingdanzhuangtai = dingdanzhuangtai;
	}
	/**
	 * 获取：订单状态
	 */
	public String getDingdanzhuangtai() {
		return dingdanzhuangtai;
	}
	/**
	 * 设置：是否审核
	 */
	public void setSfsh(String sfsh) {
		this.sfsh = sfsh;
	}
	/**
	 * 获取：是否审核
	 */
	public String getSfsh() {
		return sfsh;
	}
	/**
	 * 设置：审核回复
	 */
	public void setShhf(String shhf) {
		this.shhf = shhf;
	}
	/**
	 * 获取：审核回复
	 */
	public String getShhf() {
		return shhf;
	}

}
